/*
 * @Author: qinuoyun
 * @Date:   2019-11-04 19:33:16
 * @Last Modified by:   sean
 * @Last Modified time: 2019-12-25 13:16:02
 */
class canvas {
    first() {
        let _config = file_get_contents("./api/config.json");
        return to_array(_config);
    }
    save() {
        to_mkdir("./api/config.json", to_json($_POST), false, true);
        return $_POST;
    }
}


module.exports = canvas;